using System;

namespace SecuBat.Notification
{
	/// <summary>
	/// Summary description for NotificationItem.
	/// </summary>
	[Serializable]
	public class NotificationItem
	{
		private int _attackId;
		private String _url;
		private DateTime _attackTime;

		public string Url
		{
			get { return _url; }
			set { _url = value; }
		}

		public DateTime AttackTime
		{
			get { return _attackTime; }
			set { _attackTime = value; }
		}

		public int AttackId
		{
			get { return _attackId; }
			set { _attackId = value; }
		}

		public NotificationItem()
		{
			_attackId = -1;
			_url = "";
			_attackTime = DateTime.MinValue;
		}

		public NotificationItem(int attackId, String url, DateTime attackTime)
		{
			_attackId = attackId;
			_url = url;
			_attackTime = attackTime;
		}
	}
}
